.box{
    width: 300px;
    height: 300px;
    border: 1px solid  yellowgreen;
    background-color: bisque;
}
.box>div{
    display: flex;

}
.box>div div{
    width: 50px;
    height: 30px;
    border: 1px solid  yellow;
    line-height: 30px;
    text-align: center;
    background: pink;
    font-size: 12px;
    color: red;
}